package com.shujiaotong.mapper;

import com.shujiaotong.pojo.Room;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-10-20
 */
public interface RoomMapper extends BaseMapper<Room> {
    @Select("select `name` FROM room")
    List<String> getRoomNames();
}
